<?php

// $Id$


require_once(TANGRA_MAIN_DIR.'grids/sp_grid_wlc.class.php');

class CI_Attachments_Grid extends SP_Grid_WLC {
	function __construct() {
		parent::__construct('ci_attachments', 'admin/modules/tangra_cms/ci/ci_attachments.php', 6, 20);

		$this->add_link_col('edit', 'admin/modules/tangra_cms/ci/attachment_edit.php', 'edit');

//		$this->generate_html();
	}

	public function set_rows(&$rows) {
		$this->set_rows_and_link_cols_rows_from_raw_rows($rows, 0);
	}


	public function generate_html() {
		print_r_pre(htmlentities($this->get_static_html('modules/grid_html_tpl_static_ajax_metallic_en/','en')));
	}
}